<%--
  Created by IntelliJ IDEA.
  User: luo
  Date: 2025/5/22
  Time: 22:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="common/header.jsp">
    <jsp:param name="title" value="查询用户的结果"/>
</jsp:include>
<%@ include file="common/adminMenu.jsp" %>

<div class="container">
    <div class="message">
        ${message}
    </div>
    <table border="1">
        <tr>
            <th>id:</th>
            <th>用户名:</th>
            <th>密码:</th>
            <th>是否是管理员:</th>
            <th>修改</th>
            <th>删除</th>
        </tr>
        <tr>
            <td>${findUser.userId}</td>
            <td>${findUser.username}</td>
            <td>${findUser.password}</td>
            <td>${findUser.isAdmin ? '是' : '否'}</td>
            <td>
                <a href="update-user-information-form?userId=${findUser.userId}">修改</a>
            </td>
            <td>
                <a href="delete-user-information-form?userId=${findUser.userId}">删除</a>
            </td>
        </tr>
    </table>
</div>

<%@ include file="common/footer.jsp" %>
